package com.sqsf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@TableName("t_student")
public class Student {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private String mobile;
    private Integer age;
    private String sex;

    public Student(String name, String mobile,Integer age,String sex) {
        this.name = name;
        this.mobile = mobile;
        this.age = age;
        this.sex = sex;
    }


}
